<?php
/**
 * DolphinGTK - phpGtk framework
 *
 * Графический модуль
 *
 * @package    DolphinGTK
 * @author     Askarov Ruslan
 * @copyright  Askarov Ruslan (c) 2010.
 * @link       http://groups.google.com/group/dolphingtk
 * @license    http://www.opensource.org/licenses/gpl-license.php GPL
 * @version    0.1
 * @since      PHP v.: 5.2.1
 * @subpackage desktop
 * @category   module
 * @filesource
 */


class Main_page
{
  public function set()
  {
    $frame = new GtkVBox();
    $title = new GtkLabel("Hello World!");
    $title->modify_font(new PangoFontDescription('Eras Demi ITC 48'));
    $title->modify_fg(Gtk::STATE_NORMAL, GdkColor::parse("#ffffff"));
    $title->set_size_request(100,200);
    $frame->add($title);
    return $frame;
  }
}
?>